.view-root {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	.search-panel {
		display: flex;
		align-items: center;
		background-color: white;
		padding: 16rpx 32rpx 40rpx;
	
		.mall-search-box {
			z-index: 42;
			height: 58rpx;
			border-radius: 35rpx;
			background-color: rgba(242, 246, 252, 1);
			width: 620rpx;
			justify-content: center;
			align-items: flex-start;
			padding-left: 34rpx;
			display: flex;
			flex-direction: column;
	
			.search-box-layer {
				width: 333rpx;
				height: 34rpx;
				flex-direction: row;
				display: flex;
				justify-content: space-between;
			}
	
			.search-box-icon {
				width: 30rpx;
				height: 28rpx;
				color: aqua;
			}
	
			.search-box-info {
				z-index: 51;
				width: 276rpx;
				display: block;
				overflow-wrap: break-word;
				color: rgba(153, 153, 153, 1);
				font-size: 24rpx;
				font-family: PingFangSC-Regular;
				white-space: nowrap;
				line-height: 33rpx;
				text-align: left;
			}
		}
	
		.mall-search-infotm {
			width: 44rpx;
			height: 44rpx;
			// margin-top: 12rpx;
		}
	}
	
	.list-wrap {
		display: flex;
		flex: 1;
		.index-wrap {
			width: 180rpx;
			background-color: rgba(242, 246, 252, 1);
			.index-item-normal {
				font-size: 30rpx;
				font-family: PingFangSC-Regular;
				height: 96rpx;
				line-height: 96rpx;
				color: #6B6970;
				text-align: center;
			}
			.index-item-selected {
				font-size: 30rpx;
				font-family: PingFangSC-Semibold;
				font-weight: 600;
				height: 96rpx;
				line-height: 96rpx;
				color: #6E99C7;
				text-align: center;
				background-color: white;
				border-left: 6rpx solid rgba(108, 161, 214, 1);
			}
		}
		
		.medicine-list-wrap {
			flex: 1;
			background-color: white;
			position: relative;
			.filter-wrap {
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				display: flex;
				box-sizing: border-box;
				.filter-items-scroll {
					flex: 1;
					// width: 450rpx;
				}
				.filter-item-normal {
					margin: 20rpx 12rpx;
					height: 56rpx;
					text-align: center;
					line-height: 56rpx;
					border-radius: 28rpx;
					padding: 0 16rpx;
					box-sizing: border-box;
					background-color: rgba(242, 246, 252, 1);
					color: rgba(153, 153, 153, 1);
					font-size: 24rpx;
					font-family: PingFangSC-Regular, PingFang SC;
					flex-shrink: 0;
				}
				.filter-item-selected {
					margin: 20rpx 12rpx;
					height: 56rpx;
					text-align: center;
					line-height: 56rpx;
					border-radius: 28rpx;
					padding: 0 16rpx;
					box-sizing: border-box;
					background-color: rgba(110, 153, 199, 1);
					color: rgba(255, 255, 255, 1);
					font-size: 24rpx;
					font-family: PingFangSC-Regular, PingFang SC;
					flex-shrink: 0;
				}
			}
			.medicines-scroll {
				position: absolute;
				top: 96rpx;
				left: 0;
				right: 0;
				bottom: 0;
			}
			.medicine-card {
				width: 570rpx;
				background-color: white;
				box-sizing: border-box;
				padding: 24rpx;
				display: flex;
				align-items: center;
				.medicine-pic-wrap {
					position: relative;
					.medicine-pic {
						width: 100rpx;
						height: 100rpx;
					}
					.prescription-tag {
						position: absolute;
						top: 0;
						left: 0;
						width: 72rpx;
						height: 36rpx;
						background: #6E99C7;
						border-radius: 0 0 16rpx 0;
						opacity: 0.8;
						line-height: 36rpx;
						text-align: center;
						font-size: 20rpx;
						font-family: PingFangSC-Regular, PingFang SC;
						color: #FFFFFF;
					}
				}
				.info-wrap {
					display: flex;
					flex-direction: column;
					box-sizing: border-box;
					width: 420rpx;
					padding-left: 24rpx;
					.medicine-name {
						color: rgba(34, 34, 34, 1);
						font-family: PingFangSC-Regular;
						font-size: 28rpx;
						word-break: keep-all;
						white-space: nowrap;
						overflow: hidden;
						text-overflow: ellipsis;
					}
					.medicine-abstract {
						color: rgba(176, 178, 177, 1);
						font-family: PingFangSC-Regular;
						font-size: 22rpx;
						word-break: keep-all;
						white-space: nowrap;
						overflow: hidden;
						text-overflow: ellipsis;
						margin-top: 4rpx;
					}
					.price-line {
						display: flex;
						align-items: flex-end;
						margin-top: 28rpx;
						.current-price {
							color: rgba(252, 78, 76, 1);
							font-size: 32rpx;
							font-family: PingFangSC-Regular;
						}
						.old-price {
							color: rgba(176, 178, 177, 1);
							font-size: 24rpx;
							font-family: PingFangSC-Regular, PingFang SC;
							text-decoration: line-through;
							flex: 1;
							margin-left: 16rpx;
						}
						> image {
							width: 36rpx;
							height: 36rpx;
						}
					}
				}
				> image {
					height: 150rpx;
					width: 150rpx;
				}
			}
		}
	}
	
}

.cart-count {
	background-color: rgba(252, 78, 76, 1);
	color: white;
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 8rpx;
	font-size: 20rpx;
	height: 28rpx;
	line-height: 28rpx;
	border-radius: 14rpx;
}

